import React from 'react';
import { Button } from 'antd';
import './index.less';

interface Props {
  block: boolean;
  danger: boolean;
  disabled: boolean;
  ghost: boolean;
  children: any;
}

export default (props: Props) => {
  return (
    <div className="button-root">
      <Button {...props}>{props.children}</Button>
    </div>
  );
};
